package com.readaloud.indexing;

import java.util.ArrayList;
import java.util.Collection;

import org.bson.types.ObjectId;

import com.google.code.morphia.annotations.Entity;
import com.google.code.morphia.annotations.Id;

@Entity("keywordmongo")
public class KeyWordMongo 
{
	@Id
	private ObjectId id;
	private long bookId;
	private String word;
	private Collection<Integer> pos = new ArrayList<Integer>();
	private double stdev;
	private double frequency;
	
	public ObjectId getId() {
		return id;
	}
	public String getWord() {
		return word;
	}
	public Collection<Integer> getPos() {
		return pos;
	}
	public double getStdev() {
		return stdev;
	}
	public void setId(ObjectId id) {
		this.id = id;
	}
	public void setWord(String word) {
		this.word = word;
	}
	public void setPos(Collection<Integer> pos) {
		this.pos = pos;
	}
	public void setStdev(double stdev) {
		this.stdev = stdev;
	}
	public long getBookId() {
		return bookId;
	}
	public void setBookId(long bookId) {
		this.bookId = bookId;
	}
	public double getFrequency() {
		return frequency;
	}
	public void setFrequency(double frequency) {
		this.frequency = frequency;
	}
}
